All Questions
1 question
0votes
3answers
2kviews
perl regex - How to match foobar that does not begin with (\s*//\s*)
Basically I want to find foobar on uncommented lines like: // foobar # do not match me foobar # match me otherfoobar # do not match me To match the commented lines I use this: ^(\s*//\...